<template>
  <div class="container">
    <chart></chart>
  </div>
</template>

<script>
import Chart from "@/components/chart.vue";

export default {
  components: {Chart},
  data() {
    return {
      formData: {},
      isShow: false
    }
  },
  methods: {
    clickHandle() {
      console.log(Object.values(this.formData))
      if (Object.values(this.formData).every(v => v)) {
        this.$message.success('提交成功')
        this.$router.push('/home')

      } else {
        this.$message.error('选项不能为空')
      }

    }
  }
}
</script>

<style lang="scss" scoped>
.container {
  padding: 30px;
  text-align-last: left;

  :first-child div {
    margin-bottom: 20px;
  }
}
</style>